package com.minidb.utils;

public class Condition {
    public final String columnName;
    public final String operator;  // =, !=, <>, <, <=, >, >=
    public final String value;     // 原始字面量（数字或字符串）
    public String column;

    public Condition(String columnName, String operator, String value) {
        this.columnName = columnName;
        this.operator = operator;
        this.value = value;
    }

    @Override
    public String toString() {
        return columnName + " " + operator + " " + value;
    }
}
